package zhr.chapter5.MemberCardDemoApp.cardpackage;

public class SuperVIPCard extends Card{
    public SuperVIPCard() {
        this.type="SuperVIPCard";
    }

    public SuperVIPCard(String type, float amount) {
        super(type, amount);
    }

    @Override
    public float shouldPay(float totalPrice) {
        return totalPrice*0.5f;
    }
}
